/*
 *  Command_Completion.h
 *  osnutshell
 *
 *  Created by Zachary  Heylmun on 4/18/10.
 *  Copyright 2010 University of Florida. All rights reserved.
 *
 */

#ifndef COMMAND_COMPLETION_H
#define COMMAND_COMPLETION_H

#include <algorithm>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>

namespace nutshell
{
	class Command_Completion
	{
	public:
		static void add_command(std::string);
		static void add_command_line(std::string);
		static std::vector<std::string> complete_command(std::string);
		static const std::vector<std::string>& get_recent_lines();
	private:
		static std::vector<std::string> recent_commands;
		static std::vector<std::string> recent_command_lines;
	};
}


#endif
